package com.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.store.domain.R;
import com.store.domain.dto.UpdatePasswordDto;
import com.store.domain.dto.UserDto;
import com.store.domain.entity.User;

/**
 * 用户表(User)表服务接口
 *
 * @author yu
 * @since 2024-06-26 01:12:42
 */
public interface UserService extends IService<User> {

    R getUserInfo();

    R getPageUser(Integer pageNum, Integer pageSize, UserDto userDto);

    R updateUserStatus(UserDto userDto);

    R deleteUserByIds(Integer[] ids);

    R updateUserInfo(UserDto userDto);

    R getUserInfoById(Integer id);

    R addUser(UserDto userDto);

    R login(User user);

    R logout();

    R updateUserInfo(User user);

    R updatePassword(UpdatePasswordDto updatePasswordDto);

    R register(User user);
}


